package com.groupbuying.payproducer.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.groupbuying.payproducer.dao.PayYspayResultDao;
import com.groupbuying.payproducer.domain.PayYspayResultDO;
import com.groupbuying.payproducer.service.PayYspayResultService;



@Service
public class PayYspayResultServiceImpl implements PayYspayResultService {
	@Autowired
	private PayYspayResultDao payYspayResultDao;
	
	@Override
	public PayYspayResultDO get(String id){
		return payYspayResultDao.get(id);
	}
	
	@Override
	public List<PayYspayResultDO> list(Map<String, Object> map){
		return payYspayResultDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return payYspayResultDao.count(map);
	}
	
	@Override
	public int save(PayYspayResultDO payYspayResult){
		return payYspayResultDao.save(payYspayResult);
	}
	
	@Override
	public int update(PayYspayResultDO payYspayResult){
		return payYspayResultDao.update(payYspayResult);
	}
	
	@Override
	public int remove(String id){
		return payYspayResultDao.remove(id);
	}
	
	@Override
	public int batchRemove(String[] ids){
		return payYspayResultDao.batchRemove(ids);
	}
	
}
